#!/bin/python -tt

import sys
import os
import commands

def Cat(filename):
  """
  define a Cat function here
  """
  try:
	f = open(filename)
	text = f.read()
	print '-----',filename
	print text
  except:
    print 'IO Error',filename
print 'hello'

def main():
	args = sys.argv[1:]
	for arg in args:
		Cat(arg)

if __name__ == '__main__':
    main()
